package com.medical.service.impl;

import com.medical.entity.vo.PrescriptionVo;
import com.medical.mapper.PrescriptionMapper;
import com.medical.service.PrescriptionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrescriptionServiceImpl implements PrescriptionService {
    @Autowired
    PrescriptionMapper prescriptionMapper;

    @Override
    public List<PrescriptionVo> selectByUserName(String userName) {
        return prescriptionMapper.selectByUserName(userName);

    }
}
